// #define PIKA_SHELL_NO_NEWLINE 1
// #define PIKA_OPTIMIZE PIKA_OPTIMIZE_SPEED

// 默认 0 关闭调试输出
#define PIKA_DEBUG_ENABLE 0

#define PIKA_SHELL_SAVE_FILE_ENABLE 1
#define PIKA_SHELL_SAVE_FILE_PATH "/sd/app.py"
#define PIKA_SHELL_SAVE_BYTECODE_ENABLE 1
#define PIKA_SHELL_SAVE_BYTECODE_PATH "/sd/app.py.o"

// 配置串口下载APP保存位置
#define PIKA_SHELL_SAVE_APP_PATH "/sd/app.pika"

#define PIKA_LWIP_ENABLE 1
#define PIKA_STACK_BUFF_SIZE 1024
// #define PIKA_LINE_BUFF_SIZE 256

// 多线程 堆栈大小
#define PIKA_THREAD_STACK_SIZE 1024 * 32
#define PIKA_EVENT_THREAD_STACK_SIZE 1024 * 40

#define PIKA_FREERTOS_ENABLE 1
#define PIKA_OPTIMIZE PIKA_OPTIMIZE_SPEED
// #define PIKA_ARG_CACHE_ENABLE 0
// #define PIKA_GC_MARK_SWEEP_ENABLE 1
// #define PIKA_KERNAL_DEBUG_ENABLE 1
#define PIKA_ASSERT_ENABLE 1
#define PIKA_LINUX_COMPATIBLE 1
// #define PIKA_POOL_ENABLE 1
// #define PIKA_POOL_SIZE 1024 * 64
// #define PIKA_SPRINTF_BUFF_SIZE 1024 * 2

// 配置启动APP文件
#define PIKA_APP_BOOT "/sd/app.pika"

// 使用 psram 作为线程栈, 在调用wifi时会出现问题
// #define PIKA_THREAD_MALLOC_STACK_ENABLE 1
#define PIKA_READ_FILE_BUFF_SIZE 32 * 1024
